/** 
 *------------------------------------------------------------------------------
 * @package       T3 Framework for Joomla!
 *------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github 
 *                & Google group to become co-author)
 * @Google group: https://groups.google.com/forum/#!forum/t3fw
 * @Link:         https://github.com/t3framework/ 
 *------------------------------------------------------------------------------
 */


//
// GENECRIC MODULE STYLE
// --------------------------------------------------
.t3-module {
  background: @T3moduleBackground;
  color: @T3moduleColor;
  margin-bottom: @baseLineHeight * 2;
  // Module padding
  .module-inner {
    padding: @T3modulePadding;
  }
}

// Module Title
// ------------
.module-title {
  background: @T3moduleTitleBackground;
  color: @T3moduleTitleColor;
  line-height: 30px;
  margin: 0 0 (@baseLineHeight / 2) 0;
  padding: @T3moduleTitlePadding;
}

// Module Content
// --------------
.module-ct {
  background: @T3moduleContentBackground;
  color: @T3moduleContentColor;
  padding: @T3moduleContentPadding;
  .clearfix();
}

// Module List
// -----------
.t3-module ul,
.t3-module ol {
  margin-left: 20px;
}

.t3-module ul.unstyled,
.t3-module ol.unstyled,
.t3-module ul.nav,
.t3-module ol.nav {
  margin-left: 0;
}



//
// JOOMLA! MODULES
// --------------------------------------------------

// Menu
// ----
.module_menu .nav {
  margin-bottom: @baseLineHeight;
}

.module_menu .nav > li {
  border-top: 1px solid @hrBorder;
}

.module_menu .nav > li > a {
  padding: 5px;
}

// No top border
.module_menu .nav > li:first-child {
  border-top: 0;
}

.module_menu .nav > li:first-child > a {
  padding-top: 0;
  border-top: 0;
}

// Hover state
.module_menu .nav > li > a:hover {
}

// Active state
.module_menu .nav > li.active > a {
}


// Advertisement
// -------------
.bannergroup {
}

.banneritem {
}

.banneritem a {
  font-weight: bold;
}

.bannerfooter {
  border-top: 1px solid @T3borderColor;
  font-size: @T3smallerFontSize;
  padding-top: @baseLineHeight/2;
  text-align: right;
}


// Categories
// ----------
.categories-module, ul.categories-module,
.category-module, ul.category-module {
  li {}
  h4 {
    font-size: @baseFontSize;
    font-weight: normal;
    margin: 0;
  }
}


// News Feed
// ----------
.feed {
  // Feed Title
  h4 {
    font-weight: bold;
  }
  // Feed list
  .newsfeed,
  ul.newsfeed {
    border-top: 1px solid @hrBorder;
    li {}
    .feed-link, 
    h5.feed-link {
      font-size: @baseFontSize;
      font-weight: normal;
      margin: 0;
    }
  }

}


// Latest Users 
// ------------
.latestusers,
ul.latestusers {
  margin-left: 0;
  li {
    background: @grayLighter;
    display: inline-block;
    padding: 5px 10px;
    .border-radius (@baseBorderRadius);
  }
}


// Stats 
// -----
.stats-module {
  dt, dd {
    display: inline-block;
    margin: 0;
  }
  dt {
    font-weight: bold;
    width: 35%;
  }
  dd {
    width: 60%;
  }
}